package za.ac.nmmu.muhelp.util;


public class StringUtilities {

    //private static Logger log = Logger.getLogger(StringUtilities.class.getName());


//
// remove anything after the chat address
//
public static String truncateChatAddress(String chatAddress) {
	if ( chatAddress != null ) {
		int pos = chatAddress.indexOf("/");
		if ( pos != -1 )
			return chatAddress.substring(0, pos);
	}
	return chatAddress;
}

 
}
